package org.tamal;

/**
 * HttpSession contains session keys.
 * @author Tamal Kanti Nath
 */
public enum SessionKey {

    /**
     * The USER represents User object in session.
     * @see com.google.appengine.api.datastore.Entity
     */
    USER,

    /**
     * The REDIRECT represents the redirect URL.
     */
    REDIRECT,

    /**
     * The LOCALE represents the locale in session.
     * @see java.util.Locale
     */
    LOCALE,

    /**
     * The TIMEZONE represents the user time zone.
     * @see java.util.TimeZone
     */
    TIMEZONE,

    /**
     * Force session serialization.
     * @see <a href="http://stackoverflow.com/questions/19259457/session-lost-in-google-app-engine-using-jsf/19272761#19272761">Appengine STATE_SAVING_METHOD issue</a>
     */
    CURRENT_TIME,

    /**
     * Email attachments.
     */
    ATTACHMENTS;
}
